package com.heima.model.comment.dtos;
import lombok.Data;
import org.hibernate.validator.constraints.Range;
import javax.validation.constraints.NotNull;
@Data
public class CommentLikeDTO {

    @NotNull
    private String commentId;

    @Range(min = 0,max = 1)
    private Short operation;
}